#include<iostream>
using namespace std;

int main()
{
  int seconds = 500;
  int minutes = seconds / 60;
  int remainingSeconds = seconds % 60;
  cout<< seconds << " seconds is " << minutes <<
   " minutes is " << remainingSeconds << " seconds " << endl;

   return 0;
   }
